package com.etbsms.domain;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;
import javax.persistence.Transient;

import org.hibernate.annotations.GenericGenerator;


@Entity
@Table(name = "Etbsms_ResearchAndAnalysis")
public class ResearchAndAnalysis implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 2854752972450533841L;
	
	
	private int seq_no;	
	private String rec_no;
	private boolean item_1_1;
	private String item_1_1_desc;
	private boolean item_1_2;
	private boolean item_1_2_1;
	private boolean item_1_2_2;
	private boolean item_1_2_3;
	private boolean item_1_2_4;
	private boolean item_1_2_5;
	private boolean item_1_2_6;
	private boolean item_1_2_7;
	private boolean item_1_2_8;
	private String item_1_2_8_desc;
	private boolean item_1_3;
	private String item_1_3_desc;
	private boolean item_1_4;
	private String item_1_4_desc;
	private boolean item_1_5;
	private String item_1_5_desc;
	private boolean item_1_6;
	private String item_1_6_desc;
	private boolean item_2_1;
	private boolean item_2_2;
	private boolean item_2_3;
	private boolean item_2_4;
	private boolean item_2_5;
	private boolean item_2_6;
	private boolean item_2_7;
	private boolean item_2_8;
	private String item_2_8_desc;
	private boolean item_3_1;
	private boolean item_3_1_1;
	private boolean item_3_1_2;
	private boolean item_3_1_3;
	private boolean item_3_1_4;
	private boolean item_3_1_5;
	private boolean item_3_1_6;
	private boolean item_3_2;
	private boolean item_3_2_1;
	private boolean item_3_2_2;
	private boolean item_3_2_3;
	private boolean item_3_3;
	private boolean item_3_3_1;
	private boolean item_3_3_2;
	private boolean item_3_3_3;
	private boolean item_3_3_4;
	private boolean item_3_3_5;
	private boolean item_3_4;
	private boolean item_4_1;
	private boolean item_4_2;
	private boolean item_4_3;
	private boolean item_4_4;
	private boolean item_4_5;
	private boolean item_4_6;
	private String item_4_6_desc;
	private boolean item_4_7;
	private String item_5_desc;
	private Date created;
	private Date updated;
	private Users users;

	
	
	@Id 
	@Column(name = "seq_no" ,nullable = false)
	@GeneratedValue(generator = "paymentableGenerator")       
	@GenericGenerator(name = "paymentableGenerator", strategy = "identity")
	public int getSeq_no() {
		return seq_no;
	}
	public void setSeq_no(int seq_no) {
		this.seq_no = seq_no;
	}
	
	@Column(nullable = true ,length = 32)
	public String getRec_no() {
		return rec_no;
	}
	public void setRec_no(String rec_no) {
		this.rec_no = rec_no;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_1() {
		return item_1_1;
	}
	public void setItem_1_1(boolean item_1_1) {
		this.item_1_1 = item_1_1;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_1_1_desc() {
		return this.item_1_1 ? item_1_1_desc : null;
	}
	public void setItem_1_1_desc(String item_1_1_desc) {
		this.item_1_1_desc = item_1_1_desc;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2() {		
		return item_1_2;
	}
	public void setItem_1_2(boolean item_1_2) {
		this.item_1_2 = item_1_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_1() {
		return item_1_2_1;
	}
	public void setItem_1_2_1(boolean item_1_2_1) {
		this.item_1_2_1 = item_1_2_1;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_2() {
		return item_1_2_2;
	}
	public void setItem_1_2_2(boolean item_1_2_2) {
		this.item_1_2_2 = item_1_2_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_3() {
		return item_1_2_3;
	}
	public void setItem_1_2_3(boolean item_1_2_3) {
		this.item_1_2_3 = item_1_2_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_4() {
		return item_1_2_4;
	}
	public void setItem_1_2_4(boolean item_1_2_4) {
		this.item_1_2_4 = item_1_2_4;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_5() {
		return item_1_2_5;
	}
	public void setItem_1_2_5(boolean item_1_2_5) {
		this.item_1_2_5 = item_1_2_5;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_6() {
		return item_1_2_6;
	}
	public void setItem_1_2_6(boolean item_1_2_6) {
		this.item_1_2_6 = item_1_2_6;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_7() {
		return item_1_2_7;
	}
	public void setItem_1_2_7(boolean item_1_2_7) {
		this.item_1_2_7 = item_1_2_7;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_2_8() {
		return item_1_2_8;
	}
	public void setItem_1_2_8(boolean item_1_2_8) {
		this.item_1_2_8 = item_1_2_8;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_1_2_8_desc() {
		return item_1_2_8 ? item_1_2_8_desc : null;
	}
	public void setItem_1_2_8_desc(String item_1_2_8_desc) {
		this.item_1_2_8_desc = item_1_2_8_desc;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_3() {
		return item_1_3;
	}
	public void setItem_1_3(boolean item_1_3) {
		this.item_1_3 = item_1_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_4() {
		return item_1_4;
	}
	public void setItem_1_4(boolean item_1_4) {
		this.item_1_4 = item_1_4;
	}
	
	@Column(nullable = false)
	public boolean isItem_1_5() {
		return item_1_5;
	}
	public void setItem_1_5(boolean item_1_5) {
		this.item_1_5 = item_1_5;
	}

	@Column(nullable = false)
	public boolean isItem_1_6() {
		return item_1_6;
	}
	public void setItem_1_6(boolean item_1_6) {
		this.item_1_6 = item_1_6;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_1_6_desc() {
		return item_1_6 ? item_1_6_desc : null;
	}
	public void setItem_1_6_desc(String item_1_6_desc) {
		this.item_1_6_desc = item_1_6_desc;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_1() {
		return item_2_1;
	}
	public void setItem_2_1(boolean item_2_1) {
		this.item_2_1 = item_2_1;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_2() {
		return item_2_2;
	}
	public void setItem_2_2(boolean item_2_2) {
		this.item_2_2 = item_2_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_3() {
		return item_2_3;
	}
	public void setItem_2_3(boolean item_2_3) {
		this.item_2_3 = item_2_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_4() {
		return item_2_4;
	}
	public void setItem_2_4(boolean item_2_4) {
		this.item_2_4 = item_2_4;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_5() {
		return item_2_5;
	}
	public void setItem_2_5(boolean item_2_5) {
		this.item_2_5 = item_2_5;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_6() {
		return item_2_6;
	}
	public void setItem_2_6(boolean item_2_6) {
		this.item_2_6 = item_2_6;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_7() {
		return item_2_7;
	}
	public void setItem_2_7(boolean item_2_7) {
		this.item_2_7 = item_2_7;
	}
	
	@Column(nullable = false)
	public boolean isItem_2_8() {
		return item_2_8;
	}
	public void setItem_2_8(boolean item_2_8) {
		this.item_2_8 = item_2_8;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_2_8_desc() {		
		return item_2_8 ? item_2_8_desc : null;
	}
	public void setItem_2_8_desc(String item_2_8_desc) {
		this.item_2_8_desc = item_2_8_desc;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_1() {
		return item_3_1;
	}
	public void setItem_3_1(boolean item_3_1) {
		this.item_3_1 = item_3_1;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_1_1() {
		return item_3_1_1;
	}
	public void setItem_3_1_1(boolean item_3_1_1) {
		this.item_3_1_1 = item_3_1_1;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_1_2() {
		return item_3_1_2;
	}
	public void setItem_3_1_2(boolean item_3_1_2) {
		this.item_3_1_2 = item_3_1_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_1_3() {
		return item_3_1_3;
	}
	public void setItem_3_1_3(boolean item_3_1_3) {
		this.item_3_1_3 = item_3_1_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_1_4() {
		return item_3_1_4;
	}
	public void setItem_3_1_4(boolean item_3_1_4) {
		this.item_3_1_4 = item_3_1_4;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_1_5() {
		return item_3_1_5;
	}
	public void setItem_3_1_5(boolean item_3_1_5) {
		this.item_3_1_5 = item_3_1_5;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_1_6() {
		return item_3_1_6;
	}
	public void setItem_3_1_6(boolean item_3_1_6) {
		this.item_3_1_6 = item_3_1_6;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_2() {
		return item_3_2;
	}
	public void setItem_3_2(boolean item_3_2) {
		this.item_3_2 = item_3_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_2_1() {
		return item_3_2_1;
	}
	public void setItem_3_2_1(boolean item_3_2_1) {
		this.item_3_2_1 = item_3_2_1;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_2_2() {
		return item_3_2_2;
	}
	public void setItem_3_2_2(boolean item_3_2_2) {
		this.item_3_2_2 = item_3_2_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_2_3() {
		return item_3_2_3;
	}
	public void setItem_3_2_3(boolean item_3_2_3) {
		this.item_3_2_3 = item_3_2_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_3() {
		return item_3_3;
	}
	public void setItem_3_3(boolean item_3_3) {
		this.item_3_3 = item_3_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_3_1() {
		return item_3_3_1;
	}
	public void setItem_3_3_1(boolean item_3_3_1) {
		this.item_3_3_1 = item_3_3_1;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_3_2() {
		return item_3_3_2;
	}
	public void setItem_3_3_2(boolean item_3_3_2) {
		this.item_3_3_2 = item_3_3_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_3_3() {
		return item_3_3_3;
	}
	public void setItem_3_3_3(boolean item_3_3_3) {
		this.item_3_3_3 = item_3_3_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_3_4() {
		return item_3_3_4;
	}
	public void setItem_3_3_4(boolean item_3_3_4) {
		this.item_3_3_4 = item_3_3_4;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_3_5() {
		return item_3_3_5;
	}
	public void setItem_3_3_5(boolean item_3_3_5) {
		this.item_3_3_5 = item_3_3_5;
	}
	
	@Column(nullable = false)
	public boolean isItem_3_4() {
		return item_3_4;
	}
	public void setItem_3_4(boolean item_3_4) {
		this.item_3_4 = item_3_4;
	}
	
	@Column(nullable = false)
	public boolean isItem_4_1() {
		return item_4_1;
	}
	public void setItem_4_1(boolean item_4_1) {
		this.item_4_1 = item_4_1;
	}
	
	@Column(nullable = false)
	public boolean isItem_4_2() {
		return item_4_2;
	}
	public void setItem_4_2(boolean item_4_2) {
		this.item_4_2 = item_4_2;
	}
	
	@Column(nullable = false)
	public boolean isItem_4_3() {
		return item_4_3;
	}
	public void setItem_4_3(boolean item_4_3) {
		this.item_4_3 = item_4_3;
	}
	
	@Column(nullable = false)
	public boolean isItem_4_4() {
		return item_4_4;
	}
	public void setItem_4_4(boolean item_4_4) {
		this.item_4_4 = item_4_4;
	}
	
	@Column(nullable = false)
	public boolean isItem_4_5() {
		return item_4_5;
	}
	public void setItem_4_5(boolean item_4_5) {
		this.item_4_5 = item_4_5;
	}
	
	@Column(nullable = false)
	public boolean isItem_4_6() {
		return item_4_6;
	}
	public void setItem_4_6(boolean item_4_6) {
		this.item_4_6 = item_4_6;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_4_6_desc() {
		return item_4_6 ? item_4_6_desc : null;
	}
	public void setItem_4_6_desc(String item_4_6_desc) {
		this.item_4_6_desc = item_4_6_desc;
	}
	
	@Column(nullable = false)
	public boolean isItem_4_7() {
		return item_4_7;
	}
	public void setItem_4_7(boolean item_4_7) {
		this.item_4_7 = item_4_7;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_5_desc() {
		return item_5_desc;
	}
	public void setItem_5_desc(String item_5_desc) {
		this.item_5_desc = item_5_desc;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_1_3_desc() {
		return item_1_3_desc;
	}
	public void setItem_1_3_desc(String item_1_3_desc) {
		this.item_1_3_desc = item_1_3_desc;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_1_4_desc() {
		return item_1_4_desc;
	}
	public void setItem_1_4_desc(String item_1_4_desc) {
		this.item_1_4_desc = item_1_4_desc;
	}
	
	@Column(nullable = true,length = 1024)
	public String getItem_1_5_desc() {
		return item_1_5_desc;
	}
	public void setItem_1_5_desc(String item_1_5_desc) {
		this.item_1_5_desc = item_1_5_desc;
	}
	
	@Column(nullable = false)
	@Temporal(TemporalType.TIMESTAMP)
	public Date getCreated() {
		return created;
	}
	public void setCreated(Date created) {
		this.created = created;
	}
	
	@Column(nullable = true)
	@Temporal(TemporalType.TIMESTAMP)
	public Date getUpdated() {
		return updated;
	}
	public void setUpdated(Date updated) {
		this.updated = updated;
	}
	
	@ManyToOne
	@JoinColumn(name="Users_seqNo")
	public Users getUsers() {
		return users;
	}
	public void setUsers(Users users) {
		this.users = users;
	}
}
